package com.clwl.supervise.superviseapp.mapper.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.base.TsDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TsDeptMapper extends BaseMapper<TsDept> {
    TsDept getDataChildrenDeptId(@Param("deptId") Long deptId, @Param("deptType") String deptType);

    TsDept getDataParentDeptId(@Param("deptId") Long deptId, @Param("deptType") String deptType);
}